package com.panshi.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("问题表关联的图片实体类")
public class ImageBean implements Serializable {
    @ApiModelProperty("审核表id")
    private int pid;//文章id

    @ApiModelProperty("图片路径")
    private String imgpath;

    @ApiModelProperty("图片描述")
    private String p_describe;

    @ApiModelProperty("图片地址")
    private String url;

    @ApiModelProperty("状态0启用1禁用")
    private int state;

    @ApiModelProperty("创建时间")
    private Date create_time;

    @ApiModelProperty("类型(0 首页 1咨询 2问答)")
    private int p_type;
}
